import {GET,POST} from "@/api/api.ts";

const indexUrl = {
    list:'/system/inkblot/list',
    firstAnswer:'/system/inkblotAnswer/answer1',
    secondAnswer:'/system/inkblotAnswer/answer2',
    thirdAnswer:'/system/inkblotAnswer/answer3',
}
export default indexUrl
export const getInkblotList = ()=>{
    return GET(`${indexUrl.list}`)
}
//创建提交记录
export const firstAnswer = (params:any)=>{
    return POST(`${indexUrl.firstAnswer}`,params)
}
export const secondAnswer = (params:any)=>{
    return POST(`${indexUrl.secondAnswer}`,params)
}
export const thirdAnswer = (params:any)=>{
    return POST(`${indexUrl.thirdAnswer}`,params)
}
